package ace.module.oauth2.server.sdk.core.feign.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/3/3 9:41
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "OAuth2 Error Result DTO")
public class Oauth2ErrorResultDto {
  @JsonProperty("error_description")
  @Schema(title = "error description")
  private String errorDescription;

  @JsonProperty("error")
  @Schema(title = "error")
  private String error;

  @JsonProperty("error_uri")
  @Schema(title = "error_uri")
  private String errorUri;
}
